package net.xiaosaguo.mymall.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * description: 商品服务启动器
 *
 * @author xiaosaguo
 * @date 2020/06/16 21:27
 */
@EnableRedisHttpSession
// @EnableCaching
@EnableFeignClients(basePackages = "net.xiaosaguo.mymall.product.feign")
/// @MapperScan("net.xiaosaguo.mymall.product.dao")
@EnableDiscoveryClient
@SpringBootApplication
public class MymallProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(MymallProductApplication.class, args);
    }

}

